<!DOCTYPE html>
<html>
<#include "../head.html">
    <body>
    <table class="mc">
        <tr>
            <td class="mc-l">
                <!--左侧导航---{-->
                <div id="navPanelContainer">
                    <div class="system-logo cd"></div>
                    <!--管理员信息---{-->
                    <#include "../adminInfo.html">
                        <!--管理员信息---}-->
                        <div class="nav-wrap">
                            <#include "../setting/left.html">
                        </div>
                </div>
                <!--左侧导航---}-->
            </td>
            <td class="mc-m">
                <div class="navToggle"></div>
            </td>
            <td class="mc-r">
                <!--顶部导航---{-->
                <#include "../topNav.html">
                    <!--顶部导航---}-->
                    <!--面包屑导航---{-->
                  	<#assign moduleName="添加线下银行卡">
                        <#include "banner.html">
                            <!--面包屑导航---}-->

                            <!--工具栏--{-->
                            <div id="toolbar" class="clearfix">
                            
                            </div>
                            <div id="main" class="clearfix">
                                <form name="form1" method="post" action="">
						<div class="module_title">
							<strong>线下银行卡管理</strong>
						</div>
						<div class="module_border">
							<div class="l">开户银行：</div>
							<div class="c">
                                <#if bank??&&bank.bank_name??>
									<@linkage name="bank" id="bank" nid="account_bank" default="${bank.bank}"/>
								<#else>
									<@linkage name="bank" id="bank" nid="account_bank" />
								</#if>							</div>
						</div>
						<div class="module_border">
							<div class="l">开户行名称：</div>
							<div class="c">
                            <input type="text" name="branch" value="<#if bank??&&bank.branch??>${bank.branch}</#if>"  />
					</div>
						</div>
						<div class="module_border">
							<div class="l">银行账号：</div>
							<div class="c">
								<input type="text" name="account" value="<#if bank??&&bank.account??>${bank.account}</#if>"  />
							</div>
						</div>
						<div class="module_border">
							<div class="l">银行法人：</div>
							<div class="c">
								<input type="text" name="bank_realname" value="<#if bank??&&bank.bank_realname??>${bank.bank_realname}</#if>"  />
							</div>
						</div>
						<div class="module_border">
							<div class="l">排序：</div>
							<div class="c">
								<input type="text" name="order" value="<#if bank??&&bank.order??>${bank.order}</#if>"  />
							</div>
						</div>
						<div class="module_border">
							<div class="l">银行代表值：</div>
							<div class="c">
                           <select name="payment">
							<#if paymentList??>
							  <#list paymentList as item>
							   <option value="${item.nid}" <#if item.nid==bank.payment>selected="selected"</#if>>${item.nid}(${item.name})</option>
							   </#list>
							   </#if>
							</select>							</div>
						</div>
						<div class="module_submit">
						<input type="hidden" value="add" name="type">
						<input type="hidden" value="<#if bank??&&bank.id??>${bank.id}</#if>" name="id">
						<input type="submit" name="submit" value="确认修改" />
						</div>
					</form>
					
				<!--底部工具栏--{-->
                                
                                <!--底部工具栏--}-->
                            </div>

            </td>
        </tr>
        <tr>
            <!--尾部--{-->
            <td colspan="3" class="mc-b"><#include "../foot.html"></td>
            <!--尾部--}-->
        </tr>
    </table>

    </body>
</html>
<#include "../jsPage.html">
